<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $page_name;?>-<?php echo $this->config->item('system_name');?></title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="<?php echo $this->config->item('system_public_path');?>css/bootstrap.min.css" />
<link rel="stylesheet" href="<?php echo $this->config->item('system_public_path');?>css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="<?php echo $this->config->item('system_public_path');?>css/uniform.css" />
<link rel="stylesheet" href="<?php echo $this->config->item('system_public_path');?>css/select2.css" />
<link rel="stylesheet" href="<?php echo $this->config->item('system_public_path');?>css/matrix-style.css" />
<link rel="stylesheet" href="<?php echo $this->config->item('system_public_path');?>css/matrix-media.css" />
<link href="<?php echo $this->config->item('system_public_path');?>font-awesome/css/font-awesome.css" rel="stylesheet" />
<script type="text/javascript" src="/application/third_party/editor/ckeditor/ckeditor.js"></script>
</head>
<body>

<?php
if (isset($_SERVER["HTTP_REFERER"])){
	$comeurl=$_SERVER["HTTP_REFERER"];
}else{
	$comeurl=site_url($this->config->item('system_manage_path')."welcome");
}
?>
<!--Header-part-->
<div id="header">
  <h1><a href="<?php echo site_url($this->config->item('system_manage_path')."welcome");?>"><?php echo $this->config->item('system_name');?></a></h1>
</div>
<!--close-Header-part--> 


<!--top-Header-menu-->
<div id="user-nav" class="navbar navbar-inverse">
  <ul class="nav">
    <li class=""><a title="网站首页" href="/" target="_blank"><i class="icon icon-home"></i> <span class="text">网站首页</span></a></li>
    <li class=""><a title="修改密码" href="<?php echo site_url($this->config->item('system_manage_path')."user/edit/".$this->session->userdata('userid'));?>"><i class="icon icon-cog"></i> <span class="text">修改密码</span></a></li>
    <li class=""><a title="安全退出" href="<?php echo site_url($this->config->item('system_manage_path')."logout");?>"><i class="icon icon-share-alt"></i> <span class="text">安全退出</span></a></li>
  </ul>
</div>
<!--close-top-Header-menu-->